package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.AcutionParticipationTypeEnum;
import com.sc.nft.enums.CopyrightCollectionStatusEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("sc_copyright_auction_user_bidding")
@ApiModel(value = "sc_copyright_auction_user_bidding 对象", description = "版权拍卖出价表")
public class CopyrightAuctionUserBidding extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "拍卖记录id")
    private Long copyrightAuctionRecordId;

    @ApiModelProperty(value = "拍卖轮次id")
    private Long copyrightAuctionRoundId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty(value = "投标数量")
    private Integer biddingNum;

    @ApiModelProperty("一级标题")
    private String firstTitle;

    @ApiModelProperty("是否本轮最高价格")
    private Boolean roundHighest;

    @ApiModelProperty("是否中标")
    private Boolean progress;

    @ApiModelProperty("状态")
    private CopyrightCollectionStatusEnum status;

    @ApiModelProperty("投入时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bidTime;


}
